package ExtendsBlogDemo;

public class Animal {
    public String name;
    public String color;
    public int age;
    public double weight;
    public void eat () {
        System.out.println("进食");
    }
    public void sleep() {
        System.out.println("睡觉");
    }
    public void walk () {
        System.out.println("走路");
    }
}

